package com.he.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author He
 * @version 1.0
 * @Date 2023/10/22 14:31
 * @Desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "相册DTO")
public class AlbumDTO {

    /**
     * 相册id
     */
    @Schema(description = "相册id")
    private Integer id;

    /**
     * 相册名
     */
    @NotBlank(message = "相册名不能为空")
    @Schema(description = "相册名")
    private String albumName;

    /**
     * 相册描述
     */
    @Schema(description = "相册描述")
    private String albumDesc;

    /**
     * 相册封面
     */
    @NotBlank(message = "相册封面不能为空")
    @Schema(description = "相册封面")
    private String albumCover;

    /**
     * 状态 (1公开 2私密)
     */
    @Schema(description = "状态 (1公开 2私密)")
    private Integer status;
}
